home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / obj2asm.zip / ORMODEND.C < prev    next >
C/C++ Source or Header  |  1991-10-01  |  465b  |  24 lines

  1. #include <stdio.h>
  2. #include "o.h"
  3.  
  4. extern int data_seg_idx;
  5. extern dword data_offset;
  6.  
  7. void modend( length, extension )
  8.     word    length;
  9.     int             extension;
  10. {
  11.     int             type;
  12.  
  13.     /*
  14.     ** Processing for MODEND records
  15.     */
  16.     type = get_byte();
  17.  
  18.     if ( type & 0x40 ) {
  19.         data_seg_idx = 0;
  20.         data_offset  = 0L;
  21.         length -= decode_fixup( 1, 0, 1, 1, extension );    /* Seg 0 offset 1 */
  22.     }
  23. }
  24.